@ECHO OFF
cd "C:\Program Files\VideoLAN\VLC2"
SET filename=%date:~-4,4%%date:~-7,2%%date:~4,2%%TIME:~0,2%%TIME:~3,2%%TIME:~6,2%
ECHO %filename%
C:
vlc2 http://localhost:8080/stream.flv --demux=dump --demuxdump-file="C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\webfarm\videos\%filename%.flv"